package pluginUtils;

public class AGCircleComparatorComplete extends AGCircleComparator {
	
	public int compare(AGCircle arg0, AGCircle arg1) {
		if(super.compare( arg0, arg1)!=0) return super.compare( arg0, arg1); 
		int lesX= Double.compare(arg0.getCenter().getReal(),arg1.getCenter().getReal()); 
		if(lesX!=0) return lesX; 
		return Double.compare(arg0.getCenter().getIm(),arg1.getCenter().getIm()); 
		
		
	}

}
